<template>
	<view>
		<web-view :src="routerUrl"></web-view>
	</view>
</template>

<script>
	import config from '@/config.js';
	export default {
		data() {
			return {
				routerUrl: ''
			};
		},
		/**
		 * 生命周期函数--监听页面加载
		 */
		onLoad: function(options) {
			console.log(options)
			if (options.vrtype == 1) {
				this.routerUrl = config.vrUrl + "fangyuan/store/app/appByModelVr" + options.id + "&t=" + +
					new Date().getTime()
			} else {
				this.routerUrl = config.vrUrl + "fangyuan/store/app/appByModelVr" + options.id + "&t=" + +
					new Date().getTime()
			}
		},
	}
</script>

<style lang="scss">

</style>